/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 29489
 * Date: 2023-04-13
 * Time: 9:52
 */
public class Circle extends Shape{
    private double radius;

    public Circle(){};
    public Circle(double radius){
        this.radius = radius;
    }

    public double getPerimeter(){
        return 2*Math.PI*radius;
    }
    public double getArea(){
        return radius*radius*Math.PI;
    }
}
